from appium import webdriver
from appium.webdriver.common.appiumby import By
from time import sleep

desired_caps = {}
desired_caps['platformName'] = 'Android'
desired_caps['platformVersion'] = '7'
desired_caps['deviceName'] = '127.0.0.1:62001'
desired_caps['app']=r'D:\tool\apk\mymoney.apk'
desired_caps['appPackage']=r'com.mymoney'
desired_caps['appActivity']=r'com.mymoney.biz.splash.SplashScreenActivity'
desired_caps['noReset']=True

driver = webdriver.Remote('http://127.0.0.1:4723/wd/hub', desired_caps)
driver.implicitly_wait(10)
sleep(10)


